package week7;

public class Book2 {
    protected int pages;

    public Book2(int numPages){
        pages = numPages;
    }

    public void setPages(int numPages){
        pages = numPages;
    }

    public int getPages(){
        return pages;
    }
}
